package com.ttg.common.constant;

/**
 * @author huyangzou
 * @create 2020-12-02 18:05
 */
public interface BasicConstant {

    String OPENAPI_REQUEST_TYPE = "API";

    String TOKEN_REQUEST_TYPE = "TOKEN";
    String REQUEST_TOKEN_TYPE = "TOKEN-TYPE";

    String OPENID_REQUEST_TYPE = "OPEN-ID";

    String LINE_THROUGH = "-";
    /**
     * 语言
     */
    String LANG_ZH_CN = "zh-cn";
    String LANG_ZH_TW = "zh-tw";
    String CHARSET_UTF8 = "UTF-8";//UTF-8编码

    /**
     * 数值
     */
    long LONG__1 = -1L;
    long LONG_0 = 0L;
    long LONG_1 = 1L;
    long LONG_10 = 10L;
    long LONG_15 = 15L;
    long LONG_999999999 = 999999999L;

    int INT__1 = -1;
    int INT_0 = 0;
    int INT_1 = 1;
    int INT_2 = 2;
    int INT_3 = 3;
    int INT_4 = 4;
    int INT_5 = 5;
    int INT_6 = 6;
    int INT_8 = 8;
    int INT_9 = 9;
    int INT_10 = 10;
    int INT_11 = 11;
    int INT_15 = 15;
    int INT_20 = 20;
    int INT_25 = 25;
    int INT_50 = 50;
    int INT_1000 = 1000;
    int INT_2000 = 2000;
    int INT_3000 = 3000;
    int INT_10000 = 10000;

    String DEFAULT_M_M_CODE = "123456";
    String NEW_DEFAULT_M_M_CODE = "123987";
    String TLINX_T_CODE = "TLINX-TOKEN";
    String TLINX_CHL_ID = "TLINX-CHANNEL-ID";
    String TLINX_TOKEN_TYPE = "TLINX-TOKEN-TYPE";
    String MANAGE_TOKEN_KEY="462b8fb2278946cbb02a5eb8d3ebed27";
    String MANAGE_JWT_KEY="admId";
    String MANAGE_JWT_AES_KEY="key";
    String MSG_FROM_NAME="SYSTEM";


    String TLINX_ADDRESS = "TLINX-ADDRESS";
    String ORGAN_TYPE="20";
    String OPEN_TYPE="30";

    public final static int HTTP_READ_TIMEOUT = 30;//http读取超时时间 秒
    public final static int HTTP_WRITE_TIMEOUT = 30;//设置写的超时时间 秒
    public final static int HTTP_CONNECT_TIMEOUT = 15;//设置连接超时时间 秒

    public final static String ASC = "asc";
    public final static String DESC = "desc";
}
